/*
* Copyright 2018 Shanxi Lu'an Taihang Laihui Net Tech co.,LTD.
*/
package com.laihuichuxing.builder;/**
 * Description:
 *
 * @author: Qinxuefeng
 * @since: 1.0
 * Create Date Time: 2018/12/18 14:50
 * Update Date Time:
 */

public class Main {
    public static void main(String[] args) {
        Director director = new Director();
        ConCreteBuilderA conCreteBuilderA = new ConCreteBuilderA();
        ConCreteBuilderB conCreteBuilderB = new ConCreteBuilderB();
        director.Construct(conCreteBuilderA);
        director.Construct(conCreteBuilderB);
        Product resulta = conCreteBuilderA.getResult();
        Product resultb = conCreteBuilderB.getResult();
        resulta.show();
        resultb.show();

    }
}
